YAHOO.namespace("CSW2.yuitest");

// Test Cases 
YAHOO.CSW2.yuitest.json_load = new YAHOO.tool.TestCase({
 
    name: "json_load",
 
    setUp : function () {
    },
 
    tearDown : function () {
    },

    test_json_load_sync : function () {
		var url = 'config/test.json';
		var obj = CWN2.json.load(url,true);
		YAHOO.util.Assert.isNotNull(obj.name, "oggetto non deve essere null");
    }
 
 });
 
 // Test Suite
YAHOO.CSW2.yuitest.json_suite = new YAHOO.tool.TestSuite("json Test Suite"); 
YAHOO.CSW2.yuitest.json_suite.add(YAHOO.CSW2.yuitest.json_load); 
 
